package com.heima.wemedia.client;

import com.heima.model.media.dtos.WmUserDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

//当前接口代表自媒体服务提供的

@FeignClient("leadnews-wemedia")
public interface WemediaFeign {
    //自媒体管理--保存自媒体用户
    @PostMapping("/api/v1/wmuser/save")
    Integer save(@RequestBody WmUserDto dto);
}
